package com.traffic.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 出警申请对象 per_emergency_dispatch_application
 * 
 * @author 郭世纪
 * @date 2024-12-08
 */
public class PerEmergencyDispatchApplication extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 出警申请ID */
    private Long overtimeId;

    /** 用户姓名 */
    @Excel(name = "用户姓名")
    private String userName;

    /** 所属部门 */
    @Excel(name = "所属部门")
    private String department;

    /** 出警开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出警开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dispatchStart;

    /** 出警结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出警结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dispatchEnd;

    /** 出警地点 */
    @Excel(name = "出警地点")
    private String dispatchLocation;

    /** 出警原因 */
    @Excel(name = "出警原因")
    private String reason;

    /** 出警 */
    @Excel(name = "出警")
    private String status;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creatTime;

    public void setOvertimeId(Long overtimeId) 
    {
        this.overtimeId = overtimeId;
    }

    public Long getOvertimeId() 
    {
        return overtimeId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setDepartment(String department) 
    {
        this.department = department;
    }

    public String getDepartment() 
    {
        return department;
    }
    public void setDispatchStart(Date dispatchStart) 
    {
        this.dispatchStart = dispatchStart;
    }

    public Date getDispatchStart() 
    {
        return dispatchStart;
    }
    public void setDispatchEnd(Date dispatchEnd) 
    {
        this.dispatchEnd = dispatchEnd;
    }

    public Date getDispatchEnd() 
    {
        return dispatchEnd;
    }
    public void setDispatchLocation(String dispatchLocation) 
    {
        this.dispatchLocation = dispatchLocation;
    }

    public String getDispatchLocation() 
    {
        return dispatchLocation;
    }
    public void setReason(String reason) 
    {
        this.reason = reason;
    }

    public String getReason() 
    {
        return reason;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setCreatTime(Date creatTime) 
    {
        this.creatTime = creatTime;
    }

    public Date getCreatTime() 
    {
        return creatTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("overtimeId", getOvertimeId())
            .append("userName", getUserName())
            .append("department", getDepartment())
            .append("dispatchStart", getDispatchStart())
            .append("dispatchEnd", getDispatchEnd())
            .append("dispatchLocation", getDispatchLocation())
            .append("reason", getReason())
            .append("status", getStatus())
            .append("creatTime", getCreatTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
